Event.observe( window, 'load', function() {
	$('lang_menu').hide();
	$('lang_button').observe('click', function( ) {
		$('lang_menu').toggle();
	});
});

function LightboxDelegate( url, caption ) {
	
	var objLink = document.createElement( 'a' );
	objLink.setAttribute( 'href', url );
	objLink.setAttribute( 'rel', 'lightbox' );
	objLink.setAttribute( 'title', caption );
	objLink.setAttribute( 'id', 'lightboxtest' );
	$('wrapper').appendChild(objLink);
	lb = new Lightbox();
	alert(url);
	lb.start('lightboxtest');

	//Lightbox.prototype.start( objLink );

}
